package com.blue.dto.system;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serial;
import java.io.Serializable;

import lombok.Data;

/**
 * 系统消息表
 *
 * @author nanjie.chen
 * @email 15696471158@163.com
 * @date 2025-03-14
 */
@Data
@TableName("sys_message")
public class MessageDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId
    @Schema(description = "ID")
    private String id;

    @Schema(description = "主题")
    private String theme;

    @Schema(description = "消息内容")
    private String content;

    @Schema(description = "消息发送人")
    private String sender;

    @Schema(description = "消息接收人")
    private String recipient;

    @Schema(description = "状态(0-未读,1-已读)")
    private String msgStatus;

    @Schema(description = "消息类型(0-系统通知,1-普通消息,2-待办消息)")
    private String msgType;

    @Schema(description = "路由路径")
    private String routePath;

    @Schema(description = "路由参数")
    private String routeParam;

    @Schema(description = "创建者ID")
    private String creatorId;

    @Schema(description = "创建时间")
    private String createTime;

    @Schema(description = "最近更新者ID")
    private String updaterId;

    @Schema(description = "最近更新时间")
    private String updateTime;


}
